home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libasound2.postinst < prev    next >
Text File  |  2008-10-07  |  618b  |  29 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. case "$1" in
  5. configure)
  6.     # Remove very old cruft
  7.     if [ -L /usr/doc/alsalib0.3.0 ]; then
  8.         rm -f /usr/doc/alsalib0.3.0
  9.     fi
  10.     ;;
  11. esac
  12.  
  13. # Automatically added by dh_makeshlibs
  14. if [ "$1" = "configure" ]; then
  15.     ldconfig
  16. fi
  17. # End automatically added section
  18.  
  19.  
  20. unud=/var/lib/update-notifier/user.d
  21.  
  22. if [ -d $unud ]; then
  23.     if [ `/usr/bin/pgrep -x -c pulseaudio` -eq 0 ]; then
  24.     cp -f /usr/share/alsa/user-must-execute-asoundconf-set-default-card.update-notifier \
  25.         "$unud/user-must-execute-asoundconf-set-default-card" 
  26.     echo "You may need to execute the asoundconf(1) set-default-card macro."
  27.     fi
  28. fi
  29.